import * as actionTypes from '../actions/actionTypes'
export default function shopcartReducer(initState={
    shopcartList:[]
},action){
    console.log('********shopcartReducer***************');  
    switch(action.type){
        case actionTypes.GETSHOPCARTLIST:
            return {
                shopcartList:action.payload
            }
        default:
            return initState
    }  
}